/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.inheritance.service.internal;

import za.ac.cput.inheritance.model.Student;
import za.ac.cput.inheritance.service.LoanInterest;

/**
 *
 * @author Enkosi
 */
public class LoanInterestService implements LoanInterest{   
    @Override
    public boolean interest(Student student){
        if(student == null)
            return false;
        
        System.out.println("Student" + " " + student + " ");
        System.out.print("Interest: ");
        return student.interest(student);
    }   
}
